package com.njupt.sellsec.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 17:42 2018/7/27
 * @Modified By:
 **/
@Component
@Data
@ConfigurationProperties(prefix = "redis")
public class RedisConfig {
    private String host;

    private int port;

    private int timeout;

    private int poolMaxToal;

    private int poolMaxidel;

    private int poolMaxWait;

    private String password;


}
